<% content_for :manifest do %>manifest="/roster.manifest"<% end %>
<button id="reload">reload database</button><br/>
<form id="search_form">
    <input type="text" id="key" autofocus="true" />
    <button type="submit" id="search">搜索</button>
</form>
<div id="list">
</div>
<div id="rowTemp" style="display:none">
  <span>$id</span>
  <span>$cnname</span>
  <span>$phone</span>
</div>
<div id="status">status</div>
<script>
var nowVersion="<%=FetchRecord.last.version %>";
</script>
<%= javascript_include_tag "webdb","iphone" %>